<%@ page import="java.util.Date" %>
<%@ page import="java.text.SimpleDateFormat" %>
<%--
  Created by IntelliJ IDEA.
  User: oldliu
  Date: 2023-05-26
  Time: 15:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page  contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
  <%
      Date date=new Date();
      SimpleDateFormat df=new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
      String str=df.format(date);
      out.print("<h1>");
      out.print(str);
      out.print("</h1>");
  %>
<div style="color:red;font-size:60px">
    <%=str%><br/>
    <%=date%>
</div>
</body>
</html>
